﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Oops.Xna.Framework
{
	public static class IServiceProviderExtension
	{
		public static T GetService<T>(this IServiceProvider source) where T : class
		{
			return source.GetService(typeof(T)) as T;
		}
	}
}
